package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialArchiveRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialArchivePo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialArchiveDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialArchiveDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialArchiveDomainImpl extends BaseDomainImpl<ContractInitialArchiveDto, ContractInitialArchivePo> implements ContractInitialArchiveDomain {

    @Resource
    private ContractInitialArchiveRepository contractInitialArchiveRepository;

    @Override
    public BaseRepository<ContractInitialArchivePo> getMapper() {
        return contractInitialArchiveRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialArchivePo>> getRepositoryClass() {
        return ContractInitialArchiveRepository.class;
    }

}
